import { App } from 'vue';
import KtwlProcessDesign from './KtwlProcessDesign';
import KtwlProcessPreview from './KtwlProcessPreview';
const components = {
  KtwlProcessDesign,
  KtwlProcessPreview,
};

const install = (app: App) => {
  Object.entries(components).forEach(([key, value]) => {
    app.component(key, value);
  });
};

export { KtwlProcessDesign, KtwlProcessPreview };

const Components = {
  ...components,
  install,
};

export default Components;
